<template>
  <view class="box">
    <view class="skip" @click="overdue">跳过</view>
    <view class="top">
      <span class="top-text">请选择您当前的状态</span>
      <span class="bottom-text">您的逾期状态</span>
    </view>
    <!-- <view class="mid">
      帮助我们更好地为您提供服务
    </view> -->
    <view class="top-button button" @click="overdue">
      <view class="button-text" >已经逾期</view>
    </view>
    <view class="bottom-button button" @click="not_overdue">
      <view class="button-text" >还未逾期</view>
    </view>
    <view class="next-button" @click="tocommunity">进入社区</view>
  </view>
</template>

<script lang="ts" setup>
const overdue = () => {
  uni.navigateTo({
    url:'/pages/overdue/overdue'
  })
}

const not_overdue = () => {
  uni.navigateTo({
    url:'/pages/info/info'
  })
}

const tocommunity = () => {
  uni.navigateTo({
    url:'/pages/info/info'
  })
}




</script>

<style lang="scss" scoped>

.box {
  position: relative;
  width: 375px;
  height: 812px;
  background: #fffaec;

  .skip {
    position: absolute;
    right: 9px;
    width: 99px;
    height: 15px;
    // background: #9f9e9e;
    font-size: 14px;
    font-family: Inter, Inter-400;
    font-weight: 400;
    text-align: CENTER;
    color: #9f9e9e;
    line-height: 18px;
  }

  .top {
    position: absolute;
    top: 90px;
    left: 28px;
    width: 320px;
    height: 42px;
    // align-items: center;
    text-align: center;
    font-size: 20px;
    // font-family: Inter, Inter-700;
    font-weight: 700;
    text-align: CENTER;
    color: #4a4848;
    line-height: 23px;

    .top-text {
      display: block;
      padding-bottom: 40px;
    }

    .bottom-text {
      
    }
  }

  .mid {
    position: absolute;
    top: 169px;
    left: 98px;
    width: 180px;
    height: 17px;
    // background: #949090;
    font-size: 13px;
    font-family: Inter, Inter-400;
    font-weight: 400;
    text-align: LEFT;
    color: #949090;
    line-height: 15px;
  }

  .button {
    width: 266px;
    height: 91px;
    background: #efbe2d;
    border-radius: 30px;
    box-shadow: 0px 11px 19.1px 0px #ece7d8, 0px -8px 8.9px 0px #d5a412 inset; 
  }

  .top-button {
    position: relative;
    top: 233px;
    left: 57px;
  }

  .bottom-button {
    position: relative;
    top: 258px;
    left: 57px;
  }
  .button-text {
    position: absolute;
    width: 147px;
    height: 43px;
    left: 73px;
    top: 22px;
    font-size: 32px;
    font-weight: 500;
    text-align: LEFT;
    color: #fdf4f4;
    line-height: 38px;
    text-shadow: 0px 11px 19.1px 0px #ece7d8, 0px -8px 8.9px 0px #d5a412 inset; 
  }

  .next-button {
    margin-top: 400px;
    margin-left: 164rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 410rpx;
    height: 70rpx;
    background: #f2bb16;
    border-radius: 40rpx;
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
  }
}


</style>